<%--
  Created by IntelliJ IDEA.
  User: 佟大为
  Date: 2018/7/12
  Time: 9:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>澳门首家线上赌场开业啦</title>
    <link rel="stylesheet" href="/static/js/plugins/frame/layui/css/layui.css">
    <link rel="stylesheet" href="/static/js/plugins/frame/static/css/style.css">
    <link rel="icon" href="/static/js/plugins/frame/static/image/code.png">

    <script type="text/javascript" src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/plugins/frame/layui/layui.js"></script>
    <script type="text/javascript" src="/static/js/plugins/frame/static/js/vip_comm.js"></script>
</head>
<body>



<!-- layout admin -->
<div class="layui-layout layui-layout-admin"> <!-- 添加skin-1类可手动修改主题为纯白，添加skin-2类可手动修改主题为蓝白 -->
    <!-- header -->
    <div class="layui-header my-header">
        <a href="/index">
            <!--<img class="my-header-logo" src="" alt="logo">-->
            <div class="my-header-logo">秋名山车险</div>
        </a>
        <div class="my-header-btn">
            <button class="layui-btn layui-btn-small btn-nav"><i class="layui-icon">&#xe65f;</i></button>
        </div>

        <!-- 顶部左侧添加选项卡监听 -->
        <ul class="layui-nav" lay-filter="side-top-left">
            <li class="layui-nav-item"><a href="javascript:;" onclick="save()"><i class="layui-icon">&#xe6c6;</i>签到</a></li>
            <li class="layui-nav-item"><a href="javascript:;" onclick="update()"><i class="layui-icon">&#xe6c5;</i>签退</a></li>
        </ul>

        <!-- 顶部右侧添加选项卡监听 -->
        <ul class="layui-nav my-header-user-nav" lay-filter="side-top-right">

            <li class="layui-nav-item"><a href="javascript:;" class="pay" href-url="">
                <iframe  style=" padding-top: 20px;padding-left: 20px" iframeDocument.body.style.color = "red" scrolling="no" height="54"
                         frameborder="0" allowtransparency="true"
                         src="http://i.tianqi.com/index.php?c=code&id=10&icon=1&num=3"></iframe></a></li>
            <li class="layui-nav-item">
                <a class="name" href="javascript:;"><i class="layui-icon">&#xe629;</i>主题</a>
                <dl class="layui-nav-child">
                    <dd data-skin="2"><a href="javascript:;">蓝白</a></dd>
                    <dd data-skin="1"><a href="javascript:;">纯白</a></dd>
                    <dd data-skin="0"><a href="javascript:;">黑色</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="name" href="javascript:;"><img src="/static/js/plugins/frame/static/image/code.png" alt="logo"><shiro:principal property="realname"/></a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;" href-url="demo/login.html"><i class="layui-icon">&#xe621;</i>在线聊天</a></dd>
                    <dd><a href="/logout"><i class="layui-icon">&#x1006;</i>退出</a></dd>
                </dl>
            </li>
        </ul>

    </div>
    <!-- side -->
    <div class="layui-side my-side ">


        <div class="layui-side-scroll">
            <div class="user-photo">
                <a class="img" title="没错,我就是你们的大飞哥" ><img src="/static/img/dafei.png" class="userAvatar"></a>
                <p>你好！<shiro:principal property="realname"/>, 欢迎登录</p>
            </div>
            <!-- 左侧主菜单添加选项卡监听 -->
            <ul class="layui-nav layui-nav-tree" lay-filter="side-main">

            </ul>

        </div>
    </div>
    <!-- body -->
    <div class="layui-body my-body">
        <div class="layui-tab layui-tab-card my-tab" lay-filter="card" lay-allowClose="true">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1"><span><i class="layui-icon">&#xe638;</i>欢迎页</span></li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe id="iframe" src="/welcome.jsp" frameborder="0"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!-- footer -->
    <div class="layui-footer my-footer" style="color: inherit;font-stretch: semi-condensed">
        <center>@版权归 澳门首家线上赌场荷官-不愿透露姓名的许清垲先生所有</center>
    </div>
</div>

<!-- 右键菜单 -->
<div class="my-dblclick-box none">
    <table class="layui-tab dblclick-tab">
        <tr class="card-refresh">
            <td><i class="layui-icon">&#x1002;</i>刷新当前标签</td>
        </tr>
        <tr class="card-close">
            <td><i class="layui-icon">&#x1006;</i>关闭当前标签</td>
        </tr>
        <tr class="card-close-all">
            <td><i class="layui-icon">&#x1006;</i>关闭所有标签</td>
        </tr>
    </table>
</div>


<script type="text/javascript">
    layui.use(['layer','vip_nav'], function () {

        // 操作对象
        var layer       = layui.layer
            ,vipNav     = layui.vip_nav
            ,$          = layui.jquery;

        // 顶部左侧菜单生成 [请求地址,过滤ID,是否展开,携带参数]
        //vipNav.top_left('static/json/nav_top_left.json','side-top-left',false);
        // 主体菜单生成 [请求地址,过滤ID,是否展开,携带参数]
        vipNav.main('/systemMenu/queryRootMenu','side-main',false);

        // you code ...


    });
</script>


</body>
</html>
